    package org.fly.dao;

    import org.fly.bean.Brand;
    import org.fly.bean.query.BrandQuery;
    import org.apache.ibatis.annotations.Param;
    import org.springframework.stereotype.Repository;

    import java.util.List;

    /**
    * Created by autoCode on 2018-05-02 14:52:23.
    */
    @Repository
    public interface BrandDao {

    List<Brand> list(BrandQuery query);

    long count(BrandQuery query);

    void  insert(Brand data);

    void update(Brand data);

    Brand findById(String id);

    void delete(String id);

    List<Brand> listByIds(@Param(value = "ids") List<String> ids);


}
